package com.starlink.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("星阅绘响应模型")
public class StarPaintVO extends BaseVO implements Serializable {
    @ApiModelProperty("类型 1单张 2四个 3列表")
    private Integer type;
    @ApiModelProperty("封面")
    private String cover;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("详情图片")
    private String detailImg;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("活动地址")
    private String address;
    @ApiModelProperty("温馨提示")
    private String reminder;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("活动开始时间")
    private Date activityStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("活动结束时间")
    private Date activityEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("报名开始时间")
    private Date signStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("报名结束时间")
    private Date signEndTime;
    @ApiModelProperty("报名上限")
    private Long limitNum;
    @ApiModelProperty("报名支付积分")
    private Integer consumePoints;
    @ApiModelProperty("报名获得积分")
    private Integer obtainPoints;
    @ApiModelProperty("是否已送积分")
    private Integer obtainFlag;
    @ApiModelProperty("当前用户是否报名 0否 1是")
    private Integer isRegister = 0;
    @ApiModelProperty("报名人数")
    private Long registerCount;
    @ApiModelProperty("协议")
    private String protocol;
    @ApiModelProperty("状态 0下架 1上架")
    private Integer status;
    @ApiModelProperty("是否下架过 0否 1是")
    private Integer manualOff;
}
